package main.java.game.command;

import main.java.game.Game;
import main.java.game.item.Armour;

public class BuyArmour implements PlayerCommand {

	private Game game;
	private Armour armour;
	public BuyArmour(Game game, Armour armour){
		this.game = game;
		this.armour = armour;
	}
	
	public void execute() {
		game.getPlayer().getArmours().add(armour);
		game.getArmours().remove(armour);

	}

}
